package com.xh.baselibrary.utils

import java.io.Closeable

object CloseableUtils {
    @JvmStatic
    fun close(closeable: Closeable?){
        if(closeable!= null){
            try {
                closeable.close()
            }catch (e:Exception){
                e.printStackTrace()
            }
        }
    }
}